package com.itheima.service;

import com.itheima.common.PageBean;
import com.itheima.dto.StudentQueryDto;
import com.itheima.pojo.Student;
import com.itheima.vo.CountVo;
import com.itheima.vo.SexVo;

import java.util.List;

public interface StudentService {
    PageBean StudentQuery(StudentQueryDto dto);

    Student getById(Integer id);

    void insert(Student student);

    void update(Student student);

    void delete(List<Integer> ids);

    void violation(Integer id, Integer score);

    List<SexVo> studentEducationData();

    CountVo studentCountData();
}
